<div class="content-left">
    <h1><?= $this->img("/gfx/icon/INV_Bijou_Gold.jpg") ?> My Profile</h1>
    
    <ul>
        <li>Name: <?= $this->escape(ucfirst($this->user->name)) ?></li>
        <li>Email: <?= $this->escape($this->user->email); ?></li>
    </ul>
</div>

<div class="content-right">
    <h1><?= $this->img("/gfx/icon/INV_Bijou_Gold.jpg") ?> My characters</h1>
    
    
    <ul>
    <?php 
    foreach($this->characters as $character) {
        $class = $character->findParentRow('User_Model_Classes');
        echo '<li>' . $this->escape($character->name) . ' (' . $this->escape($class->name) . ')</li>';   
    }
    ?>
    </ul>
    
    <ul>
        <li><a href="<?= $this->url(array('module' => 'user', 'controller' => 'character', 'action' => ''), null, true) ?>">Manage</a></li>
    </ul>
    
</div>